package top.lingkang.fv.solon.test.custom;

import top.lingkang.finalvalidated.handle.CustomValidHandle;
import top.lingkang.finalvalidated.handle.ValidVal;

/**
 * @author lingkang
 * created by 2025-11-10
 */
public class MyCustomAnnImpl extends CustomValidHandle {
    private MyCustomAnn annotation;

    public MyCustomAnnImpl(ValidVal validVal, MyCustomAnn annotation) {
        super(validVal, annotation);
        this.annotation = annotation;


    }

    @Override
    public void valid(Object target) {
        System.out.println(annotation.value());
    }

    @Override
    public Class<?>[] getGroups() {
        return new Class[0];
    }
}
